<fieldset class="solid">
    <legend>用户</legend>
    <input type="hidden" name="user.id" value="#(user.id??)"/>
    <div>
        <label>用户名</label>
        <input type="text" name="user.username" value="#(user.username??)"/>#(namemsg)
    </div>
    <div>
        <label>性别</label>
        <!--<input type="text" name="user.sexname" value="#(user.sexname??)"/>-->
        <select name="user.sexid" >
            #for(x : sexlist)
                #if(x.id ==  user.sexid??)
                    <option value="#(x.id)" selected = "selected">#(x.sexname??)</option>
                #else
                    <option value="#(x.id)">#(x.sexname??)</option>
                #end
            #end
        </select>
    </div>
    <div>
        <label>昵称</label>
        <input type="text" name="user.nicename" value="#(user.nicename??)"/>
    </div>
    <div>
        <label>密码</label>
        <input type="text" name="user.password" value="#(user.password??)"/>#(passwordmsg)
    </div>
    <div>
        <label>姓名</label>
        <input type="text" name="user.name" value="#(user.name??)"/>
    </div>
    <div>
        <label>&nbsp;</label>
        <input value="提交" type="submit">
    </div>
</fieldset>